Code Line Delimiter [closed]

Posted by John Isaiah Carmona on Programmers See other posts from Programmers or by John Isaiah Carmona
Published on 2012-04-12T06:30:00Z Indexed on 2012/04/12 11:42 UTC
Read the original article Hit count: 284

Possible Duplicate:
Why are statements in many programming languages terminated by semicolons?

I just found out that R Programming Language, which is somewhat belong to the C family (I'm not sure about this but it uses {} instead of begin end), uses a new line as a delimiter for a new line of code instead of the semi-colon ;.

Why is some programming language designed to use a new line instead of a symbol like semi-colon which I think will make the code more readable?


Phyton

total = item_one + \
        item_two + \
        item_three

C

total = item_one +
        item_two +
        item_three;

© Programmers or respective owner

Related posts about programming-languages

Related posts about language-design